10000 [refs #114] Fixing date creation for python 3 (leading 0 for numbers … · Web5design/github3.py@c084c59 · GitHub
[go: up one dir, main page]

Skip to content

Commit c084c59

Browse files
committed
[refs sigmavirus24#114] Fixing date creation for python 3 (leading 0 for numbers is not allowed)
1 parent 4cd482c commit c084c59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_repos.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,8 +615,8 @@ def test_iter_commits(self):
615615
c = next(self.repo.iter_commits('fakesha', '/'))
616616
self.mock_assertions()
617617

618-
since = datetime(2013, 06, 01, 0, 0, 0)
619-
until = datetime(2013, 06, 02, 0, 0, 0)
618+
since = datetime(2013, 6, 1, 0, 0, 0)
619+
until = datetime(2013, 6, 2, 0, 0, 0)
620620
self.conf = {'params': {'since': '2013-06-01T00:00:00', 'until': '2013-06-02T00:00:00'}}
621621
c = next(self.repo.iter_commits(since=since, until=until))
622622
self.mock_assertions()

0 commit comments

Comments
 (0)
0