Skip to content
Permalink
Browse files

Bytestring conversion

  • Loading branch information...
jngrad committed Sep 10, 2019
1 parent c8968b8 commit abd0937b695d99bab687c1d5f87f92c12c40f123
Showing with 2 additions and 1 deletion.
  1. +2 −1 testsuite/python/unittest_decorators.py
@@ -17,6 +17,7 @@
import sys
import unittest
import espressomd # pylint: disable=import-error
from espressomd.utils import to_str


def _id(x):
@@ -57,6 +58,6 @@ def skipIfMissingGPU(skip_ci_amd=False):
ci_amd_gpus = {"Device 687f", "Vega 10 XT [Radeon RX Vega 64]"}
devices = espressomd.cuda_init.CudaInitHandle().device_list
current_device_id = espressomd.cuda_init.CudaInitHandle().device
if skip_ci_amd and str(devices[current_device_id]) in ci_amd_gpus:
if skip_ci_amd and to_str(devices[current_device_id]) in ci_amd_gpus:
return unittest.skip("Skipping test: AMD GPU")
return _id

0 comments on commit abd0937

Please sign in to comment.
You can’t perform that action at this time.