From d82d926fa2a1f98cae05b21528fe2fafebb52938 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 24 Sep 2022 14:22:33 -0400 Subject: [PATCH] Fix warning in test --- distutils/tests/test_dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distutils/tests/test_dist.py b/distutils/tests/test_dist.py index b4a2092e..a9438326 100644 --- a/distutils/tests/test_dist.py +++ b/distutils/tests/test_dist.py @@ -459,7 +459,7 @@ def test_custom_pydistutils(self, temp_home): def test_extra_pydistutils(self, monkeypatch, tmp_path): jaraco.path.build({'overrides.cfg': ''}, tmp_path) filename = tmp_path / 'overrides.cfg' - monkeypatch.setenv('DIST_EXTRA_CONFIG', filename) + monkeypatch.setenv('DIST_EXTRA_CONFIG', str(filename)) assert str(filename) in Distribution().find_config_files() def test_fix_help_options(self):