(
expected, # type: str
platform, # type: str
)
| 117 | # type: () -> None |
| 118 | |
| 119 | def assert_platform_machine( |
| 120 | expected, # type: str |
| 121 | platform, # type: str |
| 122 | ): |
| 123 | marker_environment = MarkerEnvironment.from_platform(abbreviated_platforms.create(platform)) |
| 124 | assert expected == marker_environment.platform_machine |
| 125 | |
| 126 | assert_platform_machine("x86_64", "linux-x86_64-cp-37-cp37m") |
| 127 | assert_platform_machine("x86_64", "manylinux1-x86_64-cp-37-cp37m") |
no test coverage detected