Update pybind11 to v2.4.2

v2.3.0 fixed GIL handling bugs, which means we need to explicitly stop
storing the Python logging callback before exiting, or the exit will
hang.
This commit is contained in:
Oliver Hamlet
2019-10-22 17:43:30 +01:00
parent 580bf87802
commit b52cd9bd6b
3 changed files with 12 additions and 3 deletions
+4 -2
View File
@@ -34,10 +34,12 @@ class GameFixture(unittest.TestCase):
data_path = os.path.join(self.game_path, 'Data')
master_file = os.path.join(data_path, 'Oblivion.esm')
os.makedirs(data_path)
if not os.path.exists(data_path):
os.makedirs(data_path)
open(master_file, 'a').close()
os.makedirs(self.local_path)
if not os.path.exists(self.local_path):
os.makedirs(self.local_path)
def tearDown(self):
shutil.rmtree(self.game_path)