Skip to content

Commit

Permalink
Remove bool/bool_ ambiguity in caplog test message
Browse files Browse the repository at this point in the history
  • Loading branch information
domna committed Jul 11, 2024
1 parent 42fb8f8 commit 2ab0080
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/dataconverter/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@

import logging
import os
import shutil
import xml.etree.ElementTree as ET
from typing import Optional
import shutil

import numpy as np
import pytest

from pynxtools.dataconverter import helpers
from pynxtools.dataconverter.template import Template
from pynxtools.dataconverter.validation import validate_dict_against
Expand Down Expand Up @@ -290,7 +289,7 @@ def fixture_filled_test_data(template, tmp_path):
(
"The value at /ENTRY[my_entry]/NXODD_name[nxodd_name]/bool_value sh"
"ould be one of: (<class 'bool'>, <class 'numpy.ndarray'>, <class '"
"numpy.bool_'>), as defined in the NXDL as NX_BOOLEAN."
"numpy.bool"
),
id="string-instead-of-int",
),
Expand Down

0 comments on commit 2ab0080

Please sign in to comment.