[JinJa2] Corrected the macro used for comments on the test file. (#3373)

* Corrected the macro for comments on the test file.
* Added current_date (utcnow()) variable available for template macros.
* Removed unnecessary datetime import from macros file.
* Regenerated all practice exercise test files to add timestamp.
* Changed `datetime.now(tz=timezone.utc)` to `datetime.now(tz=timezone.utc).date()`
* Second regeneration to remove `timestamp` and just keep `date` for test files.
[no important files changed]
This commit is contained in:
BethanyG
2023-07-14 15:52:15 -07:00
committed by GitHub
parent c468f7c9fb
commit e7a6b0dc7d
118 changed files with 355 additions and 119 deletions

View File

@@ -4,7 +4,9 @@ from reverse_string import (
reverse,
)
# Tests adapted from `problem-specifications//canonical-data.json`
# These tests are auto-generated with test data from:
# https://github.com/exercism/problem-specifications/tree/main/exercises/reverse-string/canonical-data.json
# File last updated on 2023-07-14
class ReverseStringTest(unittest.TestCase):