skip test on windows
uses namedtemporaryfile
This commit is contained in:
parent
56042efd98
commit
1b0f60298d
1 changed files with 1 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ class TestSuite(unittest.TestCase):
|
||||||
Jp2k(self.jp2file)
|
Jp2k(self.jp2file)
|
||||||
|
|
||||||
@unittest.skipIf(WARNING_INFRASTRUCTURE_ISSUE, WARNING_INFRASTRUCTURE_MSG)
|
@unittest.skipIf(WARNING_INFRASTRUCTURE_ISSUE, WARNING_INFRASTRUCTURE_MSG)
|
||||||
|
@unittest.skipIf(os.name == "nt", 'named temporary file issue on windows')
|
||||||
def test_xdg_env_config_file_is_bad(self):
|
def test_xdg_env_config_file_is_bad(self):
|
||||||
"""A non-existant library location should be rejected."""
|
"""A non-existant library location should be rejected."""
|
||||||
with tempfile.TemporaryDirectory() as tdir:
|
with tempfile.TemporaryDirectory() as tdir:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue