Closed veprbl closed 3 years ago
Thanks for the report.
I guess that the change for this test should be
-@pytest.mark.skipif((os.name == 'nt' and sys.version_info[0] < 3) or
+@pytest.mark.skipif((os.name != 'posix' and sys.version_info[0] < 3) or
but at the same time, the automated/CI Azure Devops tests should be updated to be also executed on macOS.
From what I can see, the current configuration file only runs the tests on Linux and Windows
https://github.com/jborean93/smbprotocol/blob/master/azure-pipelines.yml
smbprotocol might work on macOS, but without continuous tests on macOS I think that it macOS can be considered as unofficially supported.
@jborean93 are you interested into macOS ? Do you prefer to run macOS tests via Azure Pipelines or GitHub Actions? I can help with a PR. I prefer GitHub Actions as the logs are easier to read...and you don't need extra access and permissions to Azure to re-run a job. But Azure Pipelines is super nice as with flaky tests it allows to re-run only the failed jobs. But I think that a project should not have flaky tests... so that would not be an issue with GitHub Actions :)
Probably easiest to just add macOS to the AZP matrix to avoid having 2 places where CI runs. I originally worked on macOS on my dev box but that's no longer. I'm fairly confident nothing is actually broken on macOS, just some tests may not work.