Skip to content

Commit ae94e28

Browse files
mylibrarSuqi Sun
andauthored
Bump version to 0.3.0.dev2 (#843)
* Bump version to 0.3.0.dev2 * Fix bug in data_store_test.py Co-authored-by: Suqi Sun <[email protected]>
1 parent 76c092a commit ae94e28

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/testpypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PYPI
1+
name: TESTPYPI
22

33
on:
44
push:

forte/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
_MAJOR = "0"
1616
_MINOR = "3"
17-
_REVISION = "0.dev1"
17+
_REVISION = "0.dev2"
1818

1919
VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)
2020
VERSION = "{0}.{1}.{2}".format(_MAJOR, _MINOR, _REVISION)

tests/forte/data/data_store_test.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
Unit tests for data store related operations.
1616
"""
1717

18+
import os
1819
import logging
1920
import unittest
2021
import copy
@@ -1277,7 +1278,10 @@ def test_check_onto_file(self):
12771278
"parent_class": {"ft.onto.test.EntityMention"},
12781279
}
12791280
}
1280-
data_store_from_file = DataStore(onto_file_path="tests/forte/data/ontology/test_specs/test_check_onto_file.json")
1281+
data_store_from_file = DataStore(onto_file_path=os.path.abspath(os.path.join(
1282+
os.path.dirname(os.path.abspath(__file__)),
1283+
"ontology/test_specs/test_check_onto_file.json"
1284+
)))
12811285
# Check whether `_type_attributes` contains all items in `expected_type_attributes`
12821286
union_dict: Dict = dict(data_store_from_file._type_attributes, **expected_type_attributes)
12831287
self.assertDictEqual(data_store_from_file._type_attributes, union_dict)

0 commit comments

Comments
 (0)