Skip to content

Commit

Permalink
Bump version to 0.3.0.dev2 (#843)
Browse files Browse the repository at this point in the history
* Bump version to 0.3.0.dev2

* Fix bug in data_store_test.py

Co-authored-by: Suqi Sun <suqi.sun@petuum.com>
  • Loading branch information
mylibrar and Suqi Sun committed Jun 29, 2022
1 parent 76c092a commit ae94e28
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testpypi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PYPI
name: TESTPYPI

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion forte/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

_MAJOR = "0"
_MINOR = "3"
_REVISION = "0.dev1"
_REVISION = "0.dev2"

VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)
VERSION = "{0}.{1}.{2}".format(_MAJOR, _MINOR, _REVISION)
Expand Down
6 changes: 5 additions & 1 deletion tests/forte/data/data_store_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
Unit tests for data store related operations.
"""

import os
import logging
import unittest
import copy
Expand Down Expand Up @@ -1277,7 +1278,10 @@ def test_check_onto_file(self):
"parent_class": {"ft.onto.test.EntityMention"},
}
}
data_store_from_file = DataStore(onto_file_path="tests/forte/data/ontology/test_specs/test_check_onto_file.json")
data_store_from_file = DataStore(onto_file_path=os.path.abspath(os.path.join(
os.path.dirname(os.path.abspath(__file__)),
"ontology/test_specs/test_check_onto_file.json"
)))
# Check whether `_type_attributes` contains all items in `expected_type_attributes`
union_dict: Dict = dict(data_store_from_file._type_attributes, **expected_type_attributes)
self.assertDictEqual(data_store_from_file._type_attributes, union_dict)
Expand Down

0 comments on commit ae94e28

Please sign in to comment.