Skip to content

Commit 749c057

Browse files
committed
Fix typo on test files
1 parent c6d1c57 commit 749c057

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/data/expected_metadata.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ File Metadata ℹ️ :
1313
File structure with branch filter 🌿 '':
1414

1515

16-
🌳 Tree: Metadata
16+
🌳 Tree: MetaData
1717
├── Branches:
1818
│ ├── FileMetaDataAuxDyn.test_100 ; dtype: AsDtype('>i8')
1919
│ ├── FileMetaDataAuxDyn.test_abc ; dtype: AsStrings()

tests/test_file_peeking_metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def build_test_samples(tmp_path):
4545

4646
# Create tmp .root files
4747
with uproot.create(test_path) as file:
48-
file["Metadata"] = tree_data
48+
file["MetaData"] = tree_data
4949

5050
return test_path
5151

@@ -58,7 +58,7 @@ def test_metadata_retrieval(build_test_samples, tmp_path, capsys):
5858
# Check result
5959
expected_result = {
6060
"FileMetaData": {"test_100": "100", "test_abc": "abc"},
61-
"Metadata": {
61+
"MetaData": {
6262
"FileMetaDataAuxDyn.test_100": "AsDtype('>i8')",
6363
"FileMetaDataAuxDyn.test_abc": "AsStrings()",
6464
},

0 commit comments

Comments
 (0)