Skip to content

Commit 9b71c72

Browse files
committed
Update Graham Hayes company affiliation
Signed-off-by: Graham Hayes <[email protected]>
1 parent b2a7186 commit 9b71c72

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

default_data.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12189,13 +12189,18 @@
1218912189
},
1219012190
{
1219112191
"company_name": "Microsoft",
12192+
"end_date": "2022-Jan-24"
12193+
},
12194+
{
12195+
"company_name": "Udemy",
1219212196
"end_date": null
1219312197
}
1219412198
],
1219512199
"user_name": "Graham Hayes",
1219612200
"emails": [
1219712201
12198-
12202+
12203+
1219912204
]
1220012205
},
1220112206
{
@@ -40324,6 +40329,10 @@
4032440329
"UCR"
4032540330
]
4032640331
},
40332+
{
40333+
"domains": ["udemy.com"],
40334+
"company_name": "Udemy"
40335+
},
4032740336
{
4032840337
"domains": ["ufscar.br"],
4032940338
"company_name": "Universidade Federal de São Carlos"

tests/test_config_files.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import json
1818

1919
import jsonschema
20-
import six
2120
import testtools
2221

2322
DEFAULT_DATA_JSON_PATH = 'default_data.json'
@@ -50,10 +49,7 @@ def dict_raise_on_duplicates(ordered_pairs):
5049
class TestConfigFiles(testtools.TestCase):
5150

5251
def _read_raw_file(self, file_name):
53-
if six.PY3:
54-
opener = functools.partial(open, encoding='utf8')
55-
else:
56-
opener = open
52+
opener = functools.partial(open, encoding='utf8')
5753
with opener(file_name, 'r') as content_file:
5854
return content_file.read()
5955

0 commit comments

Comments
 (0)