File tree Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
- # -*- coding: utf-8 -*-
3
2
4
3
version = __version__ = "0.4.0.dev0"
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
- # -*- coding: utf-8 -*-
3
2
4
3
import os
5
4
import sys
@@ -36,7 +35,7 @@ def run(argv):
36
35
description = "An OpenType table diff tool for fonts."
37
36
)
38
37
parser .add_argument (
39
- "--version" , action = "version" , version = "fdiff v{}" . format ( __version__ )
38
+ "--version" , action = "version" , version = f "fdiff v{ __version__ } "
40
39
)
41
40
parser .add_argument (
42
41
"-c" ,
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ def test_file_exists_false():
16
16
17
17
def test_get_file_modtime ():
18
18
modtime = get_file_modtime (os .path .join ("tests" , "testfiles" , "test.txt" ))
19
- assert modtime .startswith ("2019-09-0" ) is True
20
19
regex = re .compile (r"""\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+[-+]\d{2}:\d{2}""" )
21
20
assert regex .fullmatch (modtime ) is not None
22
21
You can’t perform that action at this time.
0 commit comments