mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
#9 TI-1: Clean-up
- Remove unused variables - add empty line for PEP8 conformity
This commit is contained in:
parent
8685a9e2bf
commit
b0193b3683
2 changed files with 1 additions and 2 deletions
|
@ -4,6 +4,7 @@ import sys
|
|||
import unittest
|
||||
import datetime
|
||||
|
||||
|
||||
class BaseTestCase(unittest.TestCase):
|
||||
def tap(self, out):
|
||||
sys.stderr.write("--- tap output start ---\n")
|
||||
|
|
|
@ -356,8 +356,6 @@ class TestUndo(TestCase):
|
|||
"""Test undo of command 'start'"""
|
||||
now_utc = datetime.now().utcnow()
|
||||
one_hour_before_utc = now_utc - timedelta(hours=1)
|
||||
two_hours_before_utc = now_utc - timedelta(hours=2)
|
||||
three_hours_before_utc = now_utc - timedelta(hours=3)
|
||||
|
||||
self.t("start {:%Y%m%dT%H%M%SZ} foo".format(one_hour_before_utc))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue