- 27 12月, 2020 1 次提交
-
-
由 Jon Dufresne 提交于
Now that Python 2 is not supported, the bytes/str boundaries are more clear and explicit. Using six.ensure_* methods for backwards compatibility is no longer necessary as the types are known and verified using mypy. One exception is tests/lib/wheel.py which allows tests to pass test setup data as either bytes or str. The module operations.install.wheel also remains untouched as it is especially delicate to bytes/str mixups and the current version is working.
-
- 22 12月, 2020 1 次提交
-
-
由 Hugo van Kemenade 提交于
-
- 07 7月, 2020 1 次提交
-
-
由 Chris Hunt 提交于
-
- 01 2月, 2020 1 次提交
-
-
由 Chris Hunt 提交于
As we introduce stricter metadata parsing, we will need to ensure that the wheel files used in our tests are compliant (except in the specific way that we're testing against). Currently we have a large number of test cases relying on undocumented or under-documented wheel files that have various inconsistencies (incorrect name, missing fields) that are unrelated to the features actually under test. With a new wheel builder helper function, we will be able to replace all of our instances of pre-built wheel test fixtures with dynamically-generated files in code that are correct by default.
-