diff --git a/python/damask/_orientation.py b/python/damask/_orientation.py index 7d6dee3ff..4721143da 100644 --- a/python/damask/_orientation.py +++ b/python/damask/_orientation.py @@ -453,7 +453,7 @@ class Orientation(Rotation,Crystal): elif self.family == 'triclinic': return np.ones(rho_abs.shape[:-1]).astype(bool) else: - raise(TypeError, f'unknown symmetry "{self.family}"') + raise TypeError(f'unknown symmetry "{self.family}"') @property